public class CircularArea_Square_Area {
        public double R;
        public double Long;
        public double Wide;
        //圆面积
        public void Area(double r) {
            R = r;
            System.out.println("圆：" + (Math.PI * Math.pow(R,2)));
        }
        //长方形面积
        public void Area(double l,double w) {
            Long = l;
            Wide = w;
            System.out.println("长方形：" + (Long * Wide));
        }
    }
